<div class="row">
	<div class="col-sm-12">
		<div class="space"></div>
        
		<table width="100%" class="table table-striped table-bordered table-hover">
			<tr>
			    <th height="30">ID</th>
				<th>园所</th>
				<th height="30">登录手机号</th>
				<th height="30">微信昵称</th>
				<th height="30">头像</th>
				<th height="30">宝宝姓名</th>
				<th height="30">性别</th>
				<th height="30">生日</th>
				<th height="30">联系人</th>
				<th height="30">电话</th>
				<th height="30">地址</th>
				<th height="30">登录时间</th>
				<th height="30">操作</th>
			</tr>
			<?php if(!empty($member_list)){foreach ($member_list as $key=>$val){?>
			<tr>
			  <td height="30"><?php echo $val['id']?></td>
			  <td><?php echo $val['nursery_title']?></td>
			  <td height="30"><?php echo $val['login_mobile'];?></td>
			  <td height="30"><?php echo $val['wx_nick_name'];?></td>
			  <td height="30"><img alt="" src="<?php echo $val['wx_avatar'];?>" width="50px"></td>
			  <td height="30"><?php echo $val['baby_name'];?></td>
			  <td height="30"><?php echo $val['baby_sex']==1?'男':"女"?></td>
			  <td height="30"><?php echo $val['baby_birthday']?></td>
			  <td height="30"><?php echo $val['linkman']?></td>
			  <td height="30"><?php echo $val['link_mobile']?></td>
			  <td height="30"><?php echo $val['address']?></td>
			  <td height="30"><?php echo $val['last_login_date']?></td>
			  <td height="30">
			  <a href='/admin/member/update?id=<?php echo $val['id']?>&per_page=<?php if(!empty($_REQUEST['per_page']))echo $_REQUEST['per_page']?>'>修改</a>
			   | <a href='/admin/member/delete?id=<?php echo $val['id']?>&status=1' onclick="if(confirm('确定要删除吗？')){return true;}else{return false;};">删除</a>			   </td>
		  </tr>
		  <?php }}else{?>
			<tr>
			  <td height="30" colspan="13"><div align="center"><?php echo $error;?></div></td>
		  </tr>
		  <?php }?>
	  </table>
		
		<div class="float_right">
			<?php echo $pagelink;?>
		</div>
	</div>
</div>
<!--content-->